import { DEFAULT_LAYOUT } from '../base'
import { AppRouteRecordRaw } from '../types'
const Agreement: AppRouteRecordRaw = {
  path: '/content',
  name: 'content',
  component: DEFAULT_LAYOUT,
  meta: {
    locale: '内容',
    icon: 'icon-question-circle',
    requiresAuth: true,
    order: 10,
  },
  children: [
    {
      path: '/content/agreement',
      name: 'contentagreement',
      component: () => import('@/views/content/agreement.vue'),
      meta: {
        locale: '协议列表',
        requiresAuth: true,
        roles: ['*'],
      },
    },
    {
      path: '/content/help', // The midline path complies with SEO specifications
      name: 'contentHelp',
      component: () => import('@/views/content/help.vue'),
      meta: {
        locale: '帮助中心',
        requiresAuth: true,
        roles: ['*'],
      },
    },
    {
      path: '/content/notice', // The midline path complies with SEO specifications
      name: 'contentNotice',
      component: () => import('@/views/content/notice.vue'),
      meta: {
        locale: '公告管理',
        requiresAuth: true,
        roles: ['*'],
      },
    },
  ],
}

export default Agreement
